﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010FF RID: 4351
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectChessRogueNousSubStoryCsReq : IMessage<SelectChessRogueNousSubStoryCsReq>, IMessage, IEquatable<SelectChessRogueNousSubStoryCsReq>, IDeepCloneable<SelectChessRogueNousSubStoryCsReq>, IBufferMessage
	{
		// Token: 0x1700371D RID: 14109
		// (get) Token: 0x0600C2A9 RID: 49833 RVA: 0x0020EA93 File Offset: 0x0020CC93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectChessRogueNousSubStoryCsReq> Parser
		{
			get
			{
				return SelectChessRogueNousSubStoryCsReq._parser;
			}
		}

		// Token: 0x1700371E RID: 14110
		// (get) Token: 0x0600C2AA RID: 49834 RVA: 0x0020EA9A File Offset: 0x0020CC9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectChessRogueNousSubStoryCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700371F RID: 14111
		// (get) Token: 0x0600C2AB RID: 49835 RVA: 0x0020EAAC File Offset: 0x0020CCAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectChessRogueNousSubStoryCsReq.Descriptor;
			}
		}

		// Token: 0x0600C2AC RID: 49836 RVA: 0x0020EAB3 File Offset: 0x0020CCB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueNousSubStoryCsReq()
		{
		}

		// Token: 0x0600C2AD RID: 49837 RVA: 0x0020EABB File Offset: 0x0020CCBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueNousSubStoryCsReq(SelectChessRogueNousSubStoryCsReq other) : this()
		{
			this.rogueDialogueEventId_ = other.rogueDialogueEventId_;
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C2AE RID: 49838 RVA: 0x0020EAF8 File Offset: 0x0020CCF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChessRogueNousSubStoryCsReq Clone()
		{
			return new SelectChessRogueNousSubStoryCsReq(this);
		}

		// Token: 0x17003720 RID: 14112
		// (get) Token: 0x0600C2AF RID: 49839 RVA: 0x0020EB00 File Offset: 0x0020CD00
		// (set) Token: 0x0600C2B0 RID: 49840 RVA: 0x0020EB08 File Offset: 0x0020CD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RogueDialogueEventId
		{
			get
			{
				return this.rogueDialogueEventId_;
			}
			set
			{
				this.rogueDialogueEventId_ = value;
			}
		}

		// Token: 0x17003721 RID: 14113
		// (get) Token: 0x0600C2B1 RID: 49841 RVA: 0x0020EB11 File Offset: 0x0020CD11
		// (set) Token: 0x0600C2B2 RID: 49842 RVA: 0x0020EB19 File Offset: 0x0020CD19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x17003722 RID: 14114
		// (get) Token: 0x0600C2B3 RID: 49843 RVA: 0x0020EB22 File Offset: 0x0020CD22
		// (set) Token: 0x0600C2B4 RID: 49844 RVA: 0x0020EB2A File Offset: 0x0020CD2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x0600C2B5 RID: 49845 RVA: 0x0020EB33 File Offset: 0x0020CD33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectChessRogueNousSubStoryCsReq);
		}

		// Token: 0x0600C2B6 RID: 49846 RVA: 0x0020EB44 File Offset: 0x0020CD44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectChessRogueNousSubStoryCsReq other)
		{
			return other != null && (other == this || (this.RogueDialogueEventId == other.RogueDialogueEventId && this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.IBGBNAJCIHD == other.IBGBNAJCIHD && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C2B7 RID: 49847 RVA: 0x0020EBA0 File Offset: 0x0020CDA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.RogueDialogueEventId != 0U)
			{
				num ^= this.RogueDialogueEventId.GetHashCode();
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C2B8 RID: 49848 RVA: 0x0020EC11 File Offset: 0x0020CE11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C2B9 RID: 49849 RVA: 0x0020EC19 File Offset: 0x0020CE19
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C2BA RID: 49850 RVA: 0x0020EC24 File Offset: 0x0020CE24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this.RogueDialogueEventId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.RogueDialogueEventId);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C2BB RID: 49851 RVA: 0x0020EC9C File Offset: 0x0020CE9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.RogueDialogueEventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RogueDialogueEventId);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C2BC RID: 49852 RVA: 0x0020ED0C File Offset: 0x0020CF0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectChessRogueNousSubStoryCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.RogueDialogueEventId != 0U)
			{
				this.RogueDialogueEventId = other.RogueDialogueEventId;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C2BD RID: 49853 RVA: 0x0020ED70 File Offset: 0x0020CF70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C2BE RID: 49854 RVA: 0x0020ED7C File Offset: 0x0020CF7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 48U)
					{
						if (num != 96U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.ChessRogueSubStoryId = input.ReadUInt32();
						}
					}
					else
					{
						this.RogueDialogueEventId = input.ReadUInt32();
					}
				}
				else
				{
					this.IBGBNAJCIHD = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004E9A RID: 20122
		private static readonly MessageParser<SelectChessRogueNousSubStoryCsReq> _parser = new MessageParser<SelectChessRogueNousSubStoryCsReq>(() => new SelectChessRogueNousSubStoryCsReq());

		// Token: 0x04004E9B RID: 20123
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004E9C RID: 20124
		public const int RogueDialogueEventIdFieldNumber = 6;

		// Token: 0x04004E9D RID: 20125
		private uint rogueDialogueEventId_;

		// Token: 0x04004E9E RID: 20126
		public const int ChessRogueSubStoryIdFieldNumber = 12;

		// Token: 0x04004E9F RID: 20127
		private uint chessRogueSubStoryId_;

		// Token: 0x04004EA0 RID: 20128
		public const int IBGBNAJCIHDFieldNumber = 4;

		// Token: 0x04004EA1 RID: 20129
		private uint iBGBNAJCIHD_;
	}
}
